package org.gjc.client.example;

import org.gjc.client.action.GetAction;
import org.gjc.client.example.dto.ExampleDto;

/**
 *
 *
 * @author <a href="mailto:mail@raphaelbauer.com">rEyez</<a>
 *
 */
public class GetExampleAction extends GetAction<ExampleDto> {

    @Override
    public String getServiceUrl() {
        return "fake";
    }

    @Override
    public ExampleDto convertFromResponseToResult(String json) {

        ExampleDto exampleDto = ExampleDto.build(json);
        return exampleDto;
    }

}
